package com.usian.pojo;

import javax.persistence.Id;

public class Zhi {
    @Id
    private Integer id ;
    private String zname ;
    private Integer did;

    public Zhi(Integer id, String zname, Integer did) {
        this.id = id;
        this.zname = zname;
        this.did = did;
    }

    public Zhi() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getZname() {
        return zname;
    }

    public void setZname(String zname) {
        this.zname = zname;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }
}
